package service;

import entity.Student;
import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentService {
    Student getStudentByStuID(String stuID);

    Student getStudentByStuIDAndPassword(String stuID, String password);

    //获取全部学生
    List<Student> getAllStudent();

    //修改学生信息
    boolean updateStudent(Student student);

    //删除学生信息
    boolean deleteStudent(String StuID);

    //添加学生
    boolean addStudent(Student student);

    //模糊查询学生
    List<Student> getStudentByStuIDORStuName(String stuID, String stuName);
}
